package fwx.model;

public class Barber {
    private int id;
    private String name;
    private String packages;
    private int price;
    private String time;

    public Barber() {

    }



    public Barber(String name, String packages, int price, String time) {
        this.name = name;
        this.packages = packages;
        this.price = price;
        this.time = time;
    }

    public Barber(int id, String name, String packages, int price, String time) {
        this.id = id;
        this.name = name;
        this.packages = packages;
        this.price = price;
        this.time = time;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPackages() {
        return packages;
    }

    public void setPackages(String packages) {
        this.packages = packages;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "Barber{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", packages='" + packages + '\'' +
                ", price=" + price +
                ", time='" + time + '\'' +
                '}';
    }
}
